How to convert a nested list in string format to a list (recursively or in an iterative way)

welcome to shbcf.ru